package com.wxb.common.core.enums.mall;


/**
 * 折扣类型
 * @author hd
 * @date 20240813
 */
public enum MallDiscount {
    PRICE(1, "满减"), // 具体金额
    PERCENT(2, "折扣"), // 百分比
    ;
    private final int code;
    private final String info;

    MallDiscount(int code, String info)
    {
        this.code = code;
        this.info = info;
    }

    public int getCode()
    {
        return code;
    }

    public String getInfo()
    {
        return info;
    }
}
